<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored ="false"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>北京市电子行政监察平台-欢迎您!</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="<%=path%>/css/base.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/frame.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/jquery-ui-1.8.11.custom.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/widget-system.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			var path = "<%=path%>";
			window._desktopbtn = false;
		</script>
		<script type="text/javascript" src="<%=path%>/javascript/core/jquery-1.6.1.min.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/core/jquery-ui-1.8.11.custom.min.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/core/jquery-jtemplates.pack.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/system/util.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/system/oacore.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/system/widget-system.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/system/desktop.js"></script>
		<script type="text/javascript" src="<%=path%>/javascript/system/init.js"></script>
		<script type="text/javascript">
			$(function () {
				var ws = new WidgetSystem({
						path: path,
						parent: $("div.right:first"),
						rows: 3,
						positionUpdate: function (id, col, row) {
							
						},
						widgetExit: function (id) {
							
						}
					});
				ws.render([
					       		{
						       		id: 1,
					       			uri: "/widget/weather",
					       			row: 1,
					       			position: 1
					       		},
					       		{
						       		id: 2,
					       			uri: "/widget/calendar",
					       			row: 3,
					       			position: 1
					       		},
					       		{
						       		id: 3,
					       			uri: "/widget/news",
					       			row: 2,
					       			position: 1
					       		}
					       	]);
				});
		</script>
		<style type="text/css">
			div {
				position: static;
			}
		</style>
	</head>
	<body>
		<div id="mainPage" class="surround-layout">
			<jsp:include page="frame/top.jsp" flush="true"></jsp:include>
			<div class="middle">
				<jsp:include page="frame/middle_left.jsp" flush="true">
					<jsp:param value="8-3" name="view"/>
				</jsp:include>
				<!-- 右侧输出内容 -->
				<div class="right">
				</div>
				<!--  -->
			</div>
		</div>
	</body>
</html>